This is an example R Markdown report to demonstrate the workflow for building a “data memo” or report object in parallel with the conduct of your analysis.
We evaluated the AIC for a one, two, and three compartment fit:
We can see that the more parsimonious one compartment model should be selected as the base model.
## R version 4.2.1 (2022-06-23 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 19045)
##
## Matrix products: default
##
## locale:
## [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8
## [4] LC_NUMERIC=C LC_TIME=English_United States.utf8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] xpose_0.4.16 Certara.Xpose.NLME_1.2.0 Certara.RsNLME_1.2.0 ggplot2_3.4.2
## [5] flextable_0.7.0 gtsummary_1.6.0 lubridate_1.8.0 tidyr_1.3.0
## [9] dplyr_1.1.0 haven_2.4.3
##
## loaded via a namespace (and not attached):
## [1] nlme_3.1-157 webshot_0.5.3 RColorBrewer_1.1-3 bslib_0.4.0 tools_4.2.1
## [6] utf8_1.2.2 R6_2.5.1 mgcv_1.8-40 colorspace_2.0-3 withr_2.5.0
## [11] tidyselect_1.2.0 gridExtra_2.3 GGally_2.1.2 processx_3.5.2 compiler_4.2.1
## [16] textshaping_0.3.6 cli_3.6.0 gt_0.5.0 xml2_1.3.3 shinyjs_2.1.0
## [21] officer_0.4.1 shinymaterial_1.2.0 sass_0.4.1 labeling_0.4.2 scales_1.2.1
## [26] readr_2.1.2 callr_3.7.0 systemfonts_1.0.4 stringr_1.5.0 digest_0.6.31
## [31] rmarkdown_2.16 base64enc_0.1-3 Certara.NLME8_1.2.3 pkgconfig_2.0.3 htmltools_0.5.5
## [36] highr_0.9 fastmap_1.1.0 rlang_1.1.0 rstudioapi_0.13 shiny_1.7.4
## [41] jquerylib_0.1.4 farver_2.1.1 generics_0.1.2 jsonlite_1.8.0 zip_2.2.0
## [46] magrittr_2.0.3 Matrix_1.4-1 Rcpp_1.0.10 munsell_0.5.0 fansi_1.0.3
## [51] gdtools_0.2.4 lifecycle_1.0.3 stringi_1.7.12 yaml_2.3.5 MASS_7.3-57
## [56] plyr_1.8.8 grid_4.2.1 promises_1.2.0.1 forcats_0.5.1 egg_0.4.5
## [61] lattice_0.20-45 splines_4.2.1 hms_1.1.2 knitr_1.39 ps_1.6.0
## [66] pillar_1.8.1 uuid_1.0-4 glue_1.6.2 evaluate_0.15 data.table_1.14.8
## [71] broom.helpers_1.7.0 vctrs_0.5.2 tzdb_0.2.0 tweenr_1.0.2 httpuv_1.6.5
## [76] gtable_0.3.1 purrr_1.0.1 polyclip_1.10-0 reshape_0.8.9 assertthat_0.2.1
## [81] cachem_1.0.6 xfun_0.31 ggforce_0.3.3 mime_0.12 xtable_1.8-4
## [86] later_1.3.0 ragg_1.2.2 tibble_3.1.8 ellipsis_0.3.2